package com.maysham.tripod.model;

import com.maysham.tripod.dto.BuildType;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.mongodb.core.mapping.DBRef;
import org.springframework.data.mongodb.core.mapping.Document;

@EqualsAndHashCode(callSuper = true)
@Data
@Document
public class BuildTask extends BaseModel {
    @DBRef
    private CodeBase codeBase;

    private BuildType type;

    private int status;
}
